#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

int main()
{

	int a = 0;
	int b = 0;
	scanf("%d %d", &a, &b);

	for (int i = 0; i < a + b; i++)
	{
		printf("Wang!");
	}

	return 0;
}
